{extends "admin/base.html"}
{block breadcrumbs}{superblock} &raquo; <a href="{url 'Admin_Views::listItems', array($app_path, $model_path)}">{$model_name}</a>{/block}

{block content-main}
{if $form.errors}
<div class="px-message-error">
<p>{blocktrans}The form contains some errors. Please correct them to add this {$model_name}.{/blocktrans}</p>
{if $form.get_top_errors}
{$form.render_top_errors|unsafe}
{/if}
</div>
{/if}
<form method="post" action="{url 'Admin_Views::addItem', array($app_path, $model_path)}">
<table summary="{blocktrans}Create {$model_name}.{/blocktrans}">
{$form.render_table}
<tr>
<td colspan="2">
<div class="submit-row">
<input type="submit" value="{trans 'Save'}" class="default" />
</div>
</td>
</tr>
</table>
</form>
{/block}
